package com.lx.mybatis.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lx
 * @since 2024-10-27
 */
@Getter
@Setter
@TableName("bookinfo")
public class Bookinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "isbn", type = IdType.AUTO)
    private Integer isbn;

    @TableField("name")
    private String name;

    @TableField("img")
    private String img;

    @TableField("intro")
    private String intro;

    @TableField("old")
    private String old;

    @TableField("author")
    private String author;

    @TableField("press")
    private String press;

    @TableField("category")
    private String category;

    @TableField("price")
    private String price;

    @TableField("disprice")
    private String disprice;
}
